<!DOCTYPE html>
<html lang="ZH-cn">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学生成绩表</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        table {
            height: 130px;
            width: 160px;
        }

        p {
            text-align: center;
            width: 160px;
        }
    </style>
</head>

<body>
    <p>学生成绩表</p>

    <table border="1" cellspacing="1px">
        <thead>
            <tr>
                <th>姓名</th>
                <th>性别</th>
                <th>成绩</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>张三</td>
                <td>男</td>
                <td>250</td>
            </tr>
            <tr>
                <td>李四</td>
                <td>男</td>
                <td>520</td>
            </tr>
            <tr>
                <td>平均分</td>
                <td colspan="2">385</td>
            </tr>
        </tbody>

    </table>
</body>

</html>